(popup-menu): Bind cmd with let.
authorRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 07:39:08 +0000 (07:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 23 May 1994 07:39:08 +0000 (07:39 +0000)
lisp/emacs-lisp/lmenu.el

index 328cd318bfc785d10f50c49d94dde2009effb057..a8fa759d4d2112035a0b37dd9a7fc88247d38565 100644 (file)
@@ -135,7 +135,7 @@ The syntax, more precisely:
 "
   (let ((menu (make-lucid-menu-keymap (car menu-desc) (cdr menu-desc)))
        (pos (mouse-pixel-position))
-       answer)
+       answer cmd)
     (while menu
       (setq answer (x-popup-menu (list (list (nth 1 pos) (nthcdr 2 pos))
                                       (car pos))